Trying to ensure that vertex count is stable across conversion to igraph