Added no_course_lessons_id_zero(), so lessons not assigned to a course get lesson ID `0` stored, to enable easier selection of lessons with no course