function args reversed on duplicate zid detection.