Azerite traits suggested not the best

I tried the check for “best in bags” on my fire mage and the azerite traits suggested are for frost… I checked the specialization is correct - it is just giving suggestions for the wrong class. I ended up using https://bloodmallet.com/index.html#mage_fire?data_view=azerite_traits&type=trait_stacking&tier=3

I am now wondering if the best suggestions for my havoc demon hunter are correct

One way for Best in Bag to suggest “wrong” spec azerite trait is because of the order of wich you prefer you spec.
On the left of BiB, their is the spec listed, you can drag and drop to reorder them.
So if frost is in the first place, and fire in second. you may have result with frost azerith because the iLvl/gear is better with a frost azerith rather than not equiping this item.

thank you! That is what I had wrong