Slight performance improvements on the view datecourse page