Adding a small patch to test mongodb secondary stats collection.