Query now persisting for paging and sorting