I think it’s also worth documenting what this bit of code is doing, as well as where it comes from. It’s very much non-obvious, especially since it looks like it’s leaving the `system.indexes` collection in place.