Fix to exponentation during simplification.