Fixed but with algorithm. Now, all children being updated is done correctly.

I still need to look at updating parents, if the child's flow affects other nodes.

Signed-off-by: cauth0n <derekreimanis@yahoo.com>