Fix a bug in GraphUtil::extractRoads2