Fixed empty lesson list bug