Fixes url KeyError on event duplication lookup.