- fixed "delete course"-bug (Error when detaching courses from users)