diff --git a/public/js/account.js b/public/js/account.js index a071a49da..74f530343 100644 --- a/public/js/account.js +++ b/public/js/account.js @@ -269,7 +269,10 @@ firebase.auth().onAuthStateChanged(function (user) { config.resultFilters === null || config.resultFilters.difficulty === undefined ) { - if (dbSnapshot.config.resultFilters == null) { + if ( + dbSnapshot.config.resultFilters == null || + dbSnapshot.config.resultFilters.difficulty === undefined + ) { config.resultFilters = defaultAccountFilters; } else { config.resultFilters = dbSnapshot.config.resultFilters;