safer handling of ModifiableTopLevelItemGroup