Fixed a bug where transferring a product merely deleted it if it had no items.