Fix error when saving newly-created tracks.