When adding charms or bundles to mongo, also index in ES if it is configured. Also, add EnsureID to ElasticSearch.