Publish: Selecting all unchanged notes for publishing to web actually deletes them instead of republishing them

Steps to reproduce

Publish a vault to the web and select all unchanged notes.

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

Y

Expected result

Expected behaviour is that all selected notes are being republished.

Actual result

All selected notes are being deleted.

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.11.7
Operating system: Windows 11 Pro 10.0.26200
Login status: logged in
Language: nl
Catalyst license: none
Insider build toggle: off
Live preview: off
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 5
Plugins enabled: 4
1: Contribution Graph v0.10.0
2: Dataview v0.5.68
3: Better Export PDF v1.11.0
4: Waypoint v3.0.1
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.