Volta not saved properly, applied to whole score after reload
I have added a Volta (2nd time repeat) on the last 3 bars.
I can play the music using MIDI and the repeats are played correctly.
I can export to PDF.
I can save.
However once I close MuseScore and restart it, if I open the score, the 2nd volta now applies to all bars.
I can reproduce this bug every time.