Fix search_results_records.
Merge pull request #1957 from xiaohutai/release/1.6-searchfix

Fix search_results_records.