Confused about this Rem Reference Mechanic

How do I remove the word beginning term, heat, from this reference other than outdenting specific heat?
image

And this is due to the bug Parent name shows up in Child reference #366

One CSS based solution for this issue and its side effect is available here

Just found out that this thing could also happen for some reason when the parent is a digit.
image
image

This is happening because ‘Heat’ itself is a reference and it’s also the parent of ‘Specific heat’.
If you change the rem ‘Heat’ into plain text rather than a reference, it will not appear when trying to reference ‘Specific heat’.