Reenable constant folding for if conditions