diff --git a/Directory.Packages.props b/Directory.Packages.props
index e9a15526..c7b955af 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -16,21 +16,21 @@
-
+
-
+
-
+
-
-
+
+
diff --git a/Fluid/FluidParser.cs b/Fluid/FluidParser.cs
index e2fea937..9879e248 100644
--- a/Fluid/FluidParser.cs
+++ b/Fluid/FluidParser.cs
@@ -169,7 +169,7 @@ public FluidParser(FluidParserOptions parserOptions)
// Seek anything that looks like a binary operator (==, !=, <, >, <=, >=, contains, startswith, endswith) then validates it with the registered operators
// An "identifier" operator should always be followed by a space so we ensure it's doing it with AndSkip(Literals.WhiteSpace())
CombinatoryExpression = Primary.And(ZeroOrOne(OneOf(Terms.AnyOf("=!<>", maxSize: 2), Terms.Identifier().AndSkip(Literals.WhiteSpace())).Then(x => x.ToString())
- .When(RegisteredOperators.ContainsKey).And(Primary)))
+ .When((ctx, s) => RegisteredOperators.ContainsKey(s)).And(Primary)))
.Then(x =>
{
if (x.Item2.Item1 == null)