Please create a "ungroup to the last grouped", "to the end" command, which means that no part of the selected object or objects will remain grouped or subgrouped.