Added check for only visible courses with types will show in top menu on courses page