Fixed "Must be an EnumValue model object instance" error when saving EnumValue attribute