Fixed a bug where private trade did not save correctly

This change fixes bug #6.  Private trades now correctly save when give
and for resources are of the same type.