fix ties with linked staves/parts