paginated query patched remove for more quickly queries