Record Song To Disc - parent groups only

I like to group my tracks into groups (e.g. drums, bass etc.) and think it would be great if the Render Song To Disc dialogue would offer an option to separately render just the groups and ungrouped tracks rather than each individual track and the groups. At this point I have to solo and manually export each group one after another.