Link to heading does not get changed when heading is changed

Steps to reproduce

  1. Create note A.
  2. Create heading AA1 in note A.
  3. Create note B.
  4. Create a link to the heading AA in A using [[A#AA1]].
  5. Change AA1 to AA2.

Did you follow the troubleshooting guide? [Y/N]

Yes.

Expected result

The link should be [[A#AA2]].

Actual result

The link stays [[A#AA1]].

Environment

SYSTEM INFO:
Obsidian version: v1.11.7
Installer version: v1.6.7
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 7
Plugins enabled: 7
1: Excalidraw v2.19.2
2: Git v2.36.1
3: Self-hosted LiveSync v0.25.41
4: Tasks v7.22.0
5: Transcription v3.4.0
6: Daily Notes Editor v1.1.0
7: Daily Activity v1.0.0
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

Continue here: