don't clobber other event types in enable_events.

Fixes: #2272