The issue is with the casing, the parser seems to support only lower case for the null keyword. So ' IS null' works but not 'IS NULL'