fixed bug when handling nullable expressions

When using null with nullables in 'where' clauses the correct 'is null'
sql sohuld be generated