I am following the instructions from another stackexchange post on how to remove nodes from a graph network when a certain condition is met. But this is not working (Error i