Fix DDC-2234
test NOT EXISTS expression
keep braces
Merge pull request #551 from FabioBatSilva/DDC-2234

[DDC-2234] FUNCTION() IS NULL comparison