#472 Fixed parsing workflowstates