Add cleaner comparison to retries.