fix only name validation

Only run name validation is category is new or category.name is being modified