MusicCommon: remove the workaround to remove the last track

Refs #11285.

(cherry picked from commit 2f3cd3cfc36a44c6676fcdb6e48437ef627b237c)