Correct a crash when clearing the current track.