add option to allow == and != against nulls