Fixed a bug in course icons

- added a NaN.png icon to display something when course is invalid