Added extra error checking before adding item to trade