@ -15,7 +15,7 @@ function setup( backend, query ){
body: query( req.clean )
};
if (req.clean.type !== undefined) {
if ( req.clean.hasOwnProperty('type') ) {
cmd.type = req.clean.type;
}