Improve logic for cohort visibility labels

TNL-25
Good catch. I just refactored this code as-is, but I'm happy to fix it. BTW, I think we got lucky as the ids seems to start from 1.