Remove unnecessary call to nodeSet() from Dijkstra