Fixed error with courses without image.