DistinctCategories Filter function only