Update boolean validation

Just a small correction.