Fix future date exponentiation bug