Correcting contig group output