fix #30661: last note of tuplet shortened on paste
Merge pull request #1214 from MarcSabatella/30661-triplet-copy

fix #30661: last note of tuplet shortened on paste