Fix the issue when a run already has a log.