Fix next timetable event block
Don't break next lesson job if there isn't one.