Fix possible warning when advances_prefs setting is not an array