Fixed bugs with calculating the condensed date of consecutive day courses