Fix to exponentation folding.