fix #17487
Merge pull request #750 from lvinken/musicxml-fixes

fix #17487