fix pagination on search results v1.3.1