Textstyle design & inspect mode does not match

I’ve changed my textstyles in the library. For example, H3 became H4, h4 became H5 and so on.
The styles were not updated correctly. The design panel shows the correct style, the inspect panel shows the previous style. The sizes etc. are correct, but the name is shown incorrectly.