Fix [#51389073] Fix adding id to students who are put to freshly added group