Some things I needed to fix to make known-good operations work

Feel free to take or leave any of these changes at your discretion. I'm not convinced that I implemented them optimally, but they do at least highlight some cases where my known-good operations (in real mongo) were failing explosively with fongo.