Added support for IS NULL queries