fix, to ensure proper handling of booleans in combination with NOT in a ...

...where clause with an IS node

yaml tests are added separately: 
https://github.com/FoundationDB/sql-layer/pull/1339