adding missing None to WORK_STATE

Adding None to WORK_STATE for the task model.  This is required because we're setting the state to `None` if the state has been set to failed (typically by the agent).