Fixing a mistake that would crash the application during the transition from UserRegister to AccountSettings.