Categorical: let unique only return used categories