Fix a bug that would stop non-admins from updating their profile.