MDL-27230: ensures that events are removed when quiz group override deleted