Fix re-applying range filters.
Fix pagination.