fixed paging bug with large product queries