Modified fix for bug#10074 - Error if no queue matched in DashboardEventsTicketCalendar.