Prevent #prepare_settings from changing global custom fields