Fixed bug with deepExtend recognizing bsontypes