The dropChunksAndDeleteCollectionsEntry and dropChunks functions have been changed multi-times and the current implementation can be refactored.