Fix pref cipher suite code