Fixed for when cohorts are deleted