Fixed weird error with nil tracks.