Fixed crash resulting in wrong lookup of deleted objects on kdbx serialization