Deleting staff type change does not update score
In 3.0.5 and master:
1) new score
2) add staff type change to some measure after the first
3) use Inspector to set "small"
4) delete the staff type change
Result: staff is small from that point. As far as I can tell, there is simply no code to handle this at all. The stafftype element is never removed from the list internally. But, because the staff type change element is gone, it doesn't get written to the file, so it's fixed on reload.
I discovered this working on related code and am working on it along with a bit of other refactoring.