store: Fix StoreItem.sold() counting with new TransactionItem schema