Added startup step to check mongoose indexes.