included the nodetype in the congruence check.