fix divide by zero error for lessons with no sessions