When automatically importing transactions from Gemini the wallet and coin are referred to as Gemini LUNA Wallet and LUNA respectively which is incorrect. See Terra Price History - LUNA | Gemini for a reference to them using ERC-20 WLUNA.
This is problematic because Gemini actually holds WLUNA and transfers to/from Gemini are correctly listed as WLUNA on exchanges. This results in a miscalculation when transfers transactions are computed resulting in a transfer from WLUNA to LUNA rather than WLUNA to WLUNA.
As a result you end up with LUNA and WLUNA balances that are incorrect and have invalid cost basis.