Fixed bug in constant folding.