Fix paging on search results page