cocoa: don't crash on empty playlists after deleting tracks