Paginate search results fix.