Fixed cleanQuery error. cleanQuery call moved after middleware initialization to allow usage of populate and other options even when we are not using middleware.
Fixed cleanQuery error. cleanQuery call moved after middleware initialization to allow usage of populate and other options even when we are not using middleware.

reimund/express-restify-mongoose,codydaig/express-restify-mongoose,pixel2/koa-restify-mongoose,summer-liu/express-restify-mongoose,pedrosousabarreto/express-restify-mongoose,gregerolsson/express-restify-mongoose,xdotai/express-restify-mongoose,DavidBLynch/express-restify-mongoose,qlayer/express-restify-mongoose,florianholzapfel/express-restify-mongoose,DavidBLynch/express-restify-mongoose,pixel2/koa-restify-mongoose,Ensequence/express-restify-mongoose