Fixed NPE for empty calendars