Custom filter for category or extra_category