Fix incorrect category order in timetable and monthly view.