Only check newNode.original === null when newNode.value is an object.

Previously we were checking whether newNode.original === null when
newNode.value might have been an array, in which case it would never have
had an .original property.