Do not allow an user to create a class on a disabled version of a course