V3

Checking explicitly for `false` here is the "most correct" thing since `!wasInQuery` could evaluate to `true` if `wasInQuery` is `undefined` or `null` as well. However, writing `wasInQuery === false` instead of `!wasInQuery` always makes me feel weird, even though I do it sometimes. Go ahead and just keep it simple and leave this as `!wasInQuery`. The linter should catch most errors related to `wasInQuery` being used before it's defined.