Fixes mongodb_options error.  Closes #1303