MT#8547 Fix handling of special prefs.