diff --git a/process/DuplicateScanner_lib/process.js b/process/DuplicateScanner_lib/process.js
index ac136920da34183ec80fe337988e8c029979cd5a..563f3ec221917815decc1b7ce1bdc80481b5ef2d 100644
--- a/process/DuplicateScanner_lib/process.js
+++ b/process/DuplicateScanner_lib/process.js
@@ -1239,7 +1239,9 @@ _DuplicateScannerUtils._getLinkedTableInfos = function(pTargetContactId)
         .where("COMMUNICATION.CONTACT_ID", pTargetContactId)
         .arrayColumn();
         
-    var communicationDedupCondition = newWhereIfSet("COMMUNICATION.ADDR", targetComms, SqlBuilder.NOT_IN());
+    var communicationDedupCondition = targetComms.length > 0
+        ? newWhere("COMMUNICATION.ADDR", targetComms, SqlBuilder.NOT_IN())
+        : null;
     
     return[
         ["AB_APPOINTMENTLINK", "OBJECT_ROWID"],