Make isequal, == and hash respect isnull attribute