Better handling of empty strings for enum_attr's