fix #21439: Cannot tie to enharmonic note