consider staff/@n for ties
Merge pull request #66 from zolaemil/tie-fix

consider staff/@n for ties