Flagged exists as true when restoring the model
Merge pull request #4716 from ibrasho/bugfix-restore-insert

Flagged exists as true when restoring the model