fix paging stuff, make partial subquery optimizations work (preintersect only with uinon'd queries)