Moving subheading below last heading in outliner doesn't work

Steps to reproduce

Create a few headings (#) and one subheading (##) and try to move the subheading below the last main heading. (See attached video. It appears video uploads are not allowed.)

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

Yes, I confirmed the behavior in the sandbox vault.

Expected result

Moving a subheading below the last main heading should do the same it does as when moving the subheading below any other heading.

Actual result

Either doesn’t work at all or the subheading moves to the main heading above the last one.

Environment

SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:31 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8112 23.1.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Minimal v7.3.5
Snippets enabled: 4
Restricted mode: off
Plugins installed: 6
Plugins enabled: 4
1: Minimal Theme Settings v7.3.0
2: Style Settings v1.0.7
3: Templater v1.18.0
4: Dataview v0.5.64


Additional information