Support adding cohorts from the instructor dashboard

TNL-162
This not syntax is incorrect. If you put the same line in the if clause above, it also passes there. The assertion I had is much easier to understand, with the added benefit that it works. :)

There might be some variation of not and exist or verifying a boolean that does work, but I don't know what it is.