Fixing bug with variable scope.
Fixing bug with variable scope.

iToreTS/mongoose-auto-increment,codetunnel/mongoose-auto-increment,tes/mongoose-auto-increment,leonardo-freitas-1995/mongoose-auto-increment,iliakan/mongoose-auto-increment,pongib/mongoose-auto-increment,masahirompp/mongoose-auto-increment,sharelatex/mongoose-auto-increment,fengzhu/mongoose-auto-increment,pandeysoni/mongoose-auto-increment,kolomiichenko/mongoose-auto-increment,DavidBLynch/mongoose-auto-increment,joseym/mongoose-auto-increment,Dashride/mongoose-auto-increment,inetfuture/mongoose-auto-increment