diff --git a/templates/macros.html b/templates/macros.html
index 5511ef8333b087c5a443f4c56177b60eb4036eb2..53b19814b31af0c58af777227e63767f735692bb 100644
--- a/templates/macros.html
+++ b/templates/macros.html
@@ -66,7 +66,7 @@
 {% endmacro %}
 
 {% macro course_list_item(course,show_semester=False) %}
-<li class="list-group-item {% if not course.visible %}list-group-item-danger{% endif %}">
+<li class="list-group-item {% if (not course.visible) or (not course.listed) %}list-group-item-danger{% endif %}">
 	<div class="row">
 		<a href=/course?courseid={{course.handle}}>
 			{% if show_semester %}