Added fix for when all calendars are blank