Paying back borrowed coins

Hi there,

I’m a bit confused on how to categorize transactions when I get, let’s say BTC as a loan, and then when I pay that back.

When I get the coins Koinly takes that as a Deposit, which I guess is fine, but then when I give them back, it would take that as disposal and try to charge GCT on them… I don’t think that’s correct as I haven’t made any gain on them, how should I handle that?