check if the conditions value_type is 'Value' before fixing up the formatting

condition value fields should not be formatted if their value_type is not 'Value', otherwise, for value_type 'Field', the fields name will be lost if the field type is not string