fix inverted test in Model/setSnapshotData()
Merge pull request #2467 from kevinhatry/2.0.0

fix inverted test in Model/setSnapshotData() (issue #2466)