Fix pathfinder nodes not overriding equals and hashCode