fix issue with calendars in leave requests.