Fixing the state of autosaves and backups.