small optimization in ConvertCurrency