Fix loading bar bug with several calendars