Protect against NULL szVal

Set NULL szValue to sane input