Lesson display bugfix

Fixed a bug with lesson display that would show an error if there was
no report for a lesson.