SERVER-9286 lowering nested depth

This avoids a stack overflow on OS X; full fix in SERVER-9286