incomplete. add constraint to restrict this query to only return top-level groups in a given cohort.

e.g. add: 
`$this->db->where('group.parent_group_id IS NULL');