diff --git a/libs/FuManchu/Binding/TemplateDataEvaluator.cs b/libs/FuManchu/Binding/TemplateDataEvaluator.cs index 0a0a66a..0966329 100644 --- a/libs/FuManchu/Binding/TemplateDataEvaluator.cs +++ b/libs/FuManchu/Binding/TemplateDataEvaluator.cs @@ -85,12 +85,9 @@ private static IEnumerable GetRightToLeftExpressions(string expr } success = dict.TryGetValue(lookupKey, out value); - if (success) + if (success && value != null && key.Length > 0 && key.Length != lookupKey.Length) { - if (key.Length > 0) - { - return EvalComplexExpression(value!, key); - } + return EvalComplexExpression(value!, key); } } else if (indexableObject != null)