Fixed lessons index bug