store search - fix pagination bug