fix comparison error in categorical_node|edge_match.
fix comparison error in categorical_node|edge_match.

a and b - nodes
they has attr: x, y, z

if a attr = {x:1, y: 1, z: 2}
and b attr = {x:1, y: 2, z: 2}
match return True.

goulu/networkx,michaelpacer/networkx,JamesClough/networkx,OrkoHunter/networkx,NvanAdrichem/networkx,SanketDG/networkx,andnovar/networkx,jfinkels/networkx,cmtm/networkx,Sixshaman/networkx