Fix issue with duplicate lines printed in VCF.