Proper comparing of Nodes