Fixed issues with inventory access in Trade