From 952db27ba0a5b87a2a47f3a7034a9bf92e3651e5 Mon Sep 17 00:00:00 2001
From: Erlang/OTP
+ Add tests showing that trying to delete non-existing + object may corrupt the
++ In case of bag tables, trying to delete a non-existing + object leads to the index becoming corrupt. This happens + if the non-existing object we try to delete happens to + share its key and index field value with a single + existing object in the table. Result: The index entry + corresponding to the existing object is removed.
++ Prevent index from being corrupted if a nonexistent item + is deleted
++ We have to ensure that we actually delete the last object + with a given (key, index) pair before removing the index. + Thanks to Bartlomiej Puzon
++ Own Id: OTP-10220
+