fix #22559: Measure numbers, if set to all staves cannot later be unset