Corrected to use has_tag check in Bio::Seq