Fix the bug that can't directly open file in searched result (searching files with name matching without file content matching).