Fix+test problems identifying and adding missing dims in subgroups.