Fix the issues described in:

https://github.com/jenssegers/Laravel-MongoDB/issues/65
https://github.com/jenssegers/Laravel-MongoDB/issues/78