Fix problem with SHARED state nodes can be treated as start nodes