Fix too long amount for extendedTrade()