Fix issue causing alert dialog on launch.