This "delete bug" is not easy to reproduce.
I saw it trying to delete and than immediately to create collection with the same name.
All in Java code, with Typesense Java API.
I have to say, I did A LOT of upserts into this collection before, during several day (basically experimented with Typesense over a week, importing almost same documents but with slightly different schema)