issue #20434: simplified val === null conditional
Merge pull request #430 from shackbarth/20434

issue #20434: simplified val === null conditional