Resolves issue with editing a user