Fixed bug causing crash with too many courses