move the ensureIndex() on the config collection to during reindex operations