Feature/mongo 2.6.5 document source pipeline d

Are you intentionally using `== null` to check for both `undefined` and `null` or did you really mean `=== null`? Should `undefined` be checked?
Also -- nitpick: excessive parens.