Correct the category filtering in faceted counts