Fix to HGNode equals.