Fixes editing of a user profile