Add a more elegant approach to handling subgroups to ensure we can differentiate between subgroups amongst multiple series. (commit: 465496a)