We should be aware that this isn't very performant. It's much quicker to drop and recreate the collection. Also, capped collections cannot be deleted from.