Update Rpymongo.r

fixed a few bugs