Added the mongodb indexes.  This fixes #8305.