Fix boolean statements