issue #20434: simplified val === null conditional