Fixed run away query in prefs. Prefs no remember.