Fix #5: More correct valueIfNull validation check 

More correct validation check for `valueIfNull` by checking for `null` or an empty string `''`.