Separate the facet query from the pagination queries.