Migrating schema: fixed bugs in rmg_track_auto.