Sample transaction includes trade Asset1>Asset2 however koinly imports transactions in between.
In this case (when checking the event logs), the INJ tokens get routed through OSMO and only then converted to USDC.
This creates unnecessary taxable events.
Workaround
As an immediate workaround, you may rely on stake.tax files or simply delete these intermediary transactions manually.