fix inverted test in Model/setSnapshotData()