Fix saving of attributes with empty value sets for new entries.