Added missing filter clause in show_all_courses