fix #28176: crash on note entry on first note of slur
Merge pull request #1067 from MarcSabatella/28176-slur-note-entry

fix #28176: crash on note entry on first note of slur