a bit more defensiveness in is_synced()

@dcadams resurrected the branch to add this bit of defensive code.