Fix foreign inventory call

This should fix the foreign inventory issue with the latest steam trade change see #560.