MBS-6416, keep track of track row ids when editing a medium.
Merge branch 'mbs-6416' into beta

* mbs-6416:
  MBS-6416, keep track of track row ids when editing a medium.