Fixed bug with the construction depedence graph construction