Solved error with consequtive lessons of same study module when the study modules is first of new day and the day before the last study module was the same