fix #37756: crash on drum entry
Merge pull request #1417 from MarcSabatella/37756-stem-crash

fix #37756: crash on drum entry