fix #32416: crash on note entry in voice>1 at end of score
Merge pull request #1295 from MarcSabatella/32416-last-tie-crash

fix #32416: crash on note entry in voice>1 at end of score