fix change in sql interpretation <> no longer includes cases of 'is null' since pg8.2