I could be wrong but I think this will remove the bracket unconditionally. For a 3 staves instrument like organ, it could be better to make sure we have only one remaining staff before deleting the bracket?