fixed logic in paged queries and paging info request