Fixed problem with "subpopulation group" size calculation.