From what I've heard, "Restrained" was a boolean in earlier versions, but it changed to a String. Replacing those False values with "none" should bring the save file up to date.
Otherwise you could add these lines above 1640 in expansion.gd(1 tab, and 2 tabs):
if typeof(person.restrained) == TYPE_BOOL:
person.restrained = "none"