Fixing bug with MPI groups.