Corrected calculation of exchange rates