Fixed bug in iterator inside graph_manipulator