Fix a build warning due to checking a required value type for null
Merge pull request #397 from sharwell/required-value

Fix a build warning due to checking a required value type for null