[scheduling] Fix initialization bugs for flow graph update functionality.