Tezos Staking on Ledger. Bug on Koinly.

I just started a stake for tezos on my ledger wallet.
There is a “reveal” transaction fee of 0.004156 XTZ and a “delegation” transaction fee of 0.004156 XTZ.
On koinly API import, it is reading the delegation transaction fee as a withdrawal of all my Tezos that were delegated for staking.

This is a bug on the import of the tezos wallet specifically using my ledger wallet.

Imported using API.

You can delete the delegation for now, we will resolve it in the next update.

Related question:

XTZ staking fees appear on my Gain/Loss Tax Report as a gain, with transactions (via API) tagged as “Cost” as Koinly treats as a wihtdrawal (and the XTZ price increased from when acquired to when used to pay staking fees).
It does not seem possible to tag these staking fees as an “expense” that can be off-set against staking income (because they are not capital (purchase or sale) … am I missing something?
Please suggest how to deal with this.
Tks.

@Jaymdee89 try to resync the wallet. they fixed it i think.