Fix pager issue with search results