Heirloom Upgrades

I haven’t upgraded most of the heirloom gear in a while. I know it is lower on one of my toons than the 87 level gear I had on her, yet the best in slot keeps telling me to use the heirloom and shows it at 104 even though the gear itself shows a much lower rating. What’s up with that?