Added IS NULL and IS NOT NULL syntax to where queries