Deal with duplicates during event type order persistence.  #3300.