Fixed snapshots deletion when entries got deleted

We deployed a fix to the snapshots system which ensure snapshots are properly deleted whenever an entry gets deleted. This was triggering issues when recreating entries with the same ID as deleted ones.