Added in validation for values that might be true, false, or null.