Fix some bugs in GraphUtil::clean() and GraphUtil::copyRoads