Fix a crash when switching accounts.