added index to transactionInId for transactionInErrors table