Modified condition for updating END tag in vcf_format