diff --git a/Civi/DataProcessor/FilterHandler/ContactWithTagFilter.php b/Civi/DataProcessor/FilterHandler/ContactWithTagFilter.php
index dbdc9872d50cf2ae7704dde7a7b83e373b144b76..2f07d1b02838f9aa3f522d7c9dee5fbb4d2a7b45 100644
--- a/Civi/DataProcessor/FilterHandler/ContactWithTagFilter.php
+++ b/Civi/DataProcessor/FilterHandler/ContactWithTagFilter.php
@@ -36,7 +36,7 @@ class ContactWithTagFilter extends AbstractFieldFilterHandler {
     $dataFlow  = $this->dataSource->ensureField($this->inputFieldSpecification);
     $tag_ids = $filter['value'];
     if (!is_array($tag_ids)) {
-      $tag_ids = array($tag_ids);
+      $tag_ids = explode(',', $tag_ids);
     }
     $tagTableAlias = 'civicrm_entity_tag_'.$this->inputFieldSpecification->alias;
     $tagFilters = array(