attempt to fix paging queries with cursor