Bugfix: merge_tracks() didn't work with empty track.