Make sure the num of active ops is not decremented for job-level commits.
diff --git a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java
index 2d94df6..59ffe5b 100644
--- a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java
+++ b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java
@@ -108,7 +108,7 @@
         try {
             if (isJobLevelCommit && exlusiveJobLevelCommit) {
                 primaryIndexOpTracker.exclusiveJobCommitted();
-            } else {
+            } else if (!isJobLevelCommit){         
                 primaryIndexOpTracker
                         .completeOperation(null, LSMOperationType.MODIFICATION, null, primaryIndexCallback);
             }