Corrected contig overwrite problem.