Fix bug with user profile name validation