Fix boolean validation