The following worked for me.
- Add a bar to the end of the flow
- Move the DC back to where you want it
- Change the barline to a double barline
- Add the key sig and time sig
- Select the final measure rest and do Edit > Delete Bars

The following worked for me.
