Fixes dedupe logging.