Deleting branch deletes entire file

When I right-click on a document with branches and select “Delete Branch”, it deletes the whole file. See video here and screenshot below: Video uploaded to CleanShot Cloud


Why isn’t this bug having more traction! We deleted our design system file as well trying to delete an old branch!