fix #25478: deleting an instrument causes rehearsal marks to vanish, also fix volta for the same bug