Your medium split edits have broken track/recording associations.
Here is a method that does not break them, described below:
Oh, but 894 tracks…
The problem is step 5, when you want to delete all tracks that should not appear in current medium, you would have to remove hundreds of tracks, for each medium…
Wow… Impossible…