If there's only one event channel, just remove it. The slice delete trick in the else clause won't work here.