Added req.query default as in maintainer's repo