[FIX] calendar: replace end_type = final_date by end_date, the actual right selection