[graph-tool] Vertex pointer not updated on graph filtering