diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py
index 39e6bdb5d1ed6fa6f1995e5af0ecd23ac083a812..95ea4c159f984d333167be3c2ef2532afca52906 100644
--- a/pymbolic/primitives.py
+++ b/pymbolic/primitives.py
@@ -321,7 +321,7 @@ class Expression(object):
             return NotImplemented
 
         if is_zero(other-1):
-            return self
+            return 0
         return Remainder(self, other)
 
     def __rmod__(self, other):