This plugin can be useful, but normally, a username shouldn't be changed by an administrator. A better solution would be a plugin that prevents the registration of a username that causes an error in the system. So, it shouldn't be possible to register a name with spaces.