MDL-64063 core_calendar: events by time considers enrolment status.