Fix event type migration