Fix duplicated replay lines.