Fix issue with character name length validation