Bug fix at exchange rate calculation.