Checks against the other node's child_nodes

Was previously comparing its own child_nodes to itself.