Work state should be updated when production is set back to waiting
The work state depends on the production state being waiting so the waiting transition must update the state. But also we should not reset the state to request once there are cycles.