Strict matching of strings in bam_str2flag