Convert all x <> NULL or x != NULL clauses to x IS NOT NULL. All x = NULL are converted into x IS NULL. Thanks to Dominique Legendre for the report.