Fix a bug in GraphUtil::addEdge and GraphUtil::findCorrespondentEdges.