Fix error in courses.html
Fix an error, occurring when there are no courses or less than two groups; which prevented mods from creating new courses.
Fix an error, occurring when there are no courses or less than two groups; which prevented mods from creating new courses.
This will create a new commit in order to revert the existing changes.