Fixed minor bug in courses rendering