Correct generation of standard groups of variables. The count variable of the 'groups' structure wasn't being initialized.