Fixed circular contig bug