Check for null on the Present validation

added an extra check for null, since the expression null===undefined will evaluate to false.