Automatic header links are not stable

I just created a wiki post that will have many headers.

Someone pointed out that links to the header ids were broken and I realized that the anchors seem to change when new headings are added before the heading in question.

Is this really the expected behaviour?