Fix failed profile switching.
Update.