Statement bug - invoice with exchange rate

Statement bug - invoice with exchange rate

Some of my invoice is using the feature of exchange rate.
When I try to generate the statement of account, some invoices is missing. After my investigation, it seems it is a program bug in statement generation. Please check. Thanks.