Fix break introduced by mongoose 3.8

Fixed dependency on ~3.6.0

SLN-643