fix #21601: Pasting multi-stave notes that cross to non-existant stave causes crash