Fixed filtering in subcategory resource