Updating __eq__ method for base NodeModel, fixes issue #230