Fix track deletion issue