cast integer explicitly to avoid bug in shell always casting doubles
Merge branch 'master' of github.com:comerford/mongodb-scripts