Work around for mongo driver bug 722