Calling Builder::where with ($someKey, '!=', null) would not result in a "is not null" constraint

See #6515.
revert that change please