Added reindex after workflow state changes.