Fix minor bug with the calendar stuff.