diff --git a/http/utility.hpp b/http/utility.hpp
index 431a2fe..d6f31d0 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -128,13 +128,15 @@
 {
     while (true)
     {
-        if (a == 0)
+        if (a == 0 && b == 0)
         {
-            return b == 0;
+            // Both tags were equivalent, parameters are compatible
+            return true;
         }
-        if (b == 0)
+        if (a == 0 || b == 0)
         {
-            return a == 0;
+            // one of the tags had more parameters than the other
+            return false;
         }
         TypeCode sa = static_cast<TypeCode>(a % toUnderlying(TypeCode::Max));
         TypeCode sb = static_cast<TypeCode>(b % toUnderlying(TypeCode::Max));
