Fix bug: if a 'course' is hidden then it shouldn't be a clickable link.