Fixed doctrine issue with $calendars.