fix pagination in the client search results