Timetables: fix max_datetimes

We were losing informations