Distributors: fixed name validation on save

Distributors couldn't be updated due to problem with the validation.
Merge pull request #2328 from daviddavis/temp_1368813717

Distributors: fixed name validation on save