Mongo URI bug fix