Passed bank statement's currency in payment_rate_currency_id of the account.voucher when importing payment lines

Steps to produce : 
Create a supplier invoice in different currency (eg USD).
Create a payment order for this invoice in USD.
Import this payment lines in the bank statement, the journal entries are incorrect due to incorrect payment_rate_currency_id create for the supplier payment.