Unfortunately, this is a bug in the game that hasn't been fixed yet.
The best thing you can do if this bug has affected you is to go to Options, and tick 'Autosave replays' on so you don't lose any of your work.
This bug is currently being worked on, so don't worry too much about it.