diff --git a/lib/query.js b/lib/query.js index 0485682194e..bd781e852d9 100644 --- a/lib/query.js +++ b/lib/query.js @@ -3839,17 +3839,12 @@ Query.prototype.selectedInclusively = function selectedInclusively() { for (var i = 0; i < keys.length; ++i) { var key = keys[i]; - if (this._fields[key] === 0 || this._fields[key] === false) { - return false; - } - if (this._fields[key] && - typeof this._fields[key] === 'object' && - this._fields[key].$meta) { - return false; + if (typeof this._fields[key] !== 'object' && !!this._fields[key]) { + return true; } } - return true; + return false; }; /**