fix #6535 : Impossible to tie to a grace note

Added support for tied grace notes