Fix search_results_records.

Based on fc17164f564ba772ab452194c317dd0a00d33ec3 fix by @rixbeck on Bolt 2. Not sure if we need the whole Bolt/Pager.