Change categories collection to Set from List