Badges disappear from Location cards after system restart

When I restart the Raspberry that runs OH, all the badges on the Location cards disappear.
To make them available again, I have to go into the Semantic Model, choose the measure (eg. temp, humidity, window…) and change the Semantic Class from Measure, to Status, to Measure again.
I need to do this for each item.
Any idea on how to solve this?
Thank you

  • Platform information:
    • Hardware: RaspberryPI
    • OS: Openhabian
    • openHAB version: 4.1.0 M4