Fix the paging of the searches