Fixed a bug in \graph_(g)put_vertex and \graph_(g)put_edge, which caused
their global versions not to work properly.