Fix DepNode compare.