Fix a regression for scores without parts (i.e. when root score staves are not linked to any other staff)