Fix duplicate 'type' attribute of Event