Fixed pref migration.