diff --git a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
--- a/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
+++ b/src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldInt.php
@@ -53,10 +53,13 @@
     PhabricatorCursorPagedPolicyAwareQuery $query,
     $value) {
 
-    if (phutil_nonempty_scalar($value)) {
-      $query->withApplicationSearchContainsConstraint(
-        $this->newNumericIndex(null),
-        $value);
+    if (is_array($value) || phutil_nonempty_scalar($value)) {
+      $value = (array)$value;
+      if ($value) {
+        $query->withApplicationSearchContainsConstraint(
+          $this->newNumericIndex(null),
+          $value);
+      }
     }
   }