Fix unique ID when there are copyTrackEvents