If node updated @vjovanov

Not a complete solution, but it fixes our if problem with nbody example.