Modified cohorts module to support the new workgroup type