fix crash in MusicXML with tie