Fixes support for DBRef insertion.
Merge pull request #100 from mathieubodin/master

Fixes support for DBRef insertion.