Trying to classify an exchange from

This was classified as a withdrawal then a deposit by koinly (2 separate transactions).

Is this right? [background. using I exchanged my XLM for theta coin]

I changed the withdrawal to an exchange (swap).
Then did a ‘soft delete’ on the deposit.

Was I wrong? How to do this in the future?

Thank you!!