Using potions in macro

I have been using a macro to use 2 min cd, potion and trink for years with no issue until now. I purchased r2 potions from the AH and edited the line in the macro by shift clicking the potion in my bag (/use Tempered Potion), but using the macro did not use the potion.

I did a test by making a simple macro to use the potion only and when I put it on my bar, the icon showed that I have zero r1 pots available. I only have r2 pots in my bag, but for some reason the macro was looking for a specific item ID of the r1 pots.

I relogged my char and the macros then reflected the r2 pots in my bag. This seems to be a bug since I did not use any item ID in the macro, just the name of the potion. I should not have to relog every time I buy a higher rank potion. I have a screenshot of the issue, but see no way to add it to this post.