How to handle basic staking?

How do you properly handle the basic scenario of staking?

Stake:
send Coin
receive xCoin

Unstake:
send xCoin
receive Coin (more Coin than you staked)

I tried using send/receive from pool for the Coin transactions and deleting the xCoin transactions, but the problem is the quantity of returned Coin is higher than what i sent and so it says i’m missing purchase history on the balance.

How should this be handled? Thanks

Nobody is handling this…?