Added ability to specify cohort range.