Fix issue with editing trades.