Remove erroneous warnings about disabled events.