Course index view fix