Fix bug in currency rate download