fix #35841: slurs and ties should not be treated as similar for selection
Merge pull request #1358 from MarcSabatella/35841-slur-tie-similar

fix #35841: slur and tie should not be treated as similar for selection