Subscript and superscript not working correctly together with bold

**Sales = a + b_{1} (Advertising) + b_{2} (MarketSize) + b_{3} (ShopSize) + e**
looks like this:
image

see how it uses emphasis (italics) for some part of the text? why?
It works fine without the ** at beginnign and end for bold text

any ideas?

This is a bit late but I started with Logseq on 2023-04-29 only.

Anyway, this works with and without bold, with and without italics:

3^{rd}.