Fix boolean evaluation.