Fix bug in event exposed

If a matched event is already exposed, avoid to set exposed attr.