datastore: if no end cursor, there are no new pages.
datastore: adding hasAncestor filtering.