Fixed issue that causes the app to not function when initial load fails