Fixed --version test in mongo script