fix export of slurs when grace notes are also present