Fix flip alleles