Shotcut version 21.10.31
Set 4 markers with some space in between each other. Click on the first marker to have the playhead go to it. Use the shortcut key (Ctrl+Shift+M) to delete the first marker. Then click on the third marker and try to use the shortcut key to delete it too. The third marker will not be deleted and instead the fourth marker will be deleted. Demo.