Small but critical bugfix for the calendars