Set offset to 0 for nextQuery of queries with offset.