Fix Lesson not checking subject for equality and emptiness