SKPaymentTransactionStatePurchased called rather than SKPaymentTransactionStateRestored

FYI - There appears to be a bug in the sandbox. When you do a restoreCompletedTransactions it will call updatedTransactions for each purchase that is being restored. But it will call with a transaction.transactionState equal to SKPaymentStatePurchased not SKPaymentStateRestored. After multiple calls to updatedTransactions with the wrong transaction.transactionState it will correctly call paymentQueueRestoreCompletedTransactionsFinished: