Fixed category names in classes when CategoryIDList is given instead of CategoryNames