Move the state checking to the dag nodes as there can be a lag
before they may see the real state. Have the nodes be patient
about what they expect to see. #3594
Merge branch 'V8_2-branch' into V8_3_0-branch