What exactly makes it break? Normally MUTC does not change trains at all, except for when you first research the technology or first place each locomotive.
This changes the train ID and raises the on_train_created event. TrainGroups already watches that event and tries to keep track, but there could be a bug in that code. There isn't much I can do on my end to fix it.