Previous fix handled hasattr() but didn't check for None values. Now explicitly checks that operator/expression is not None before using it. Error was: "'NoneType' object has no attribute 'operator'" Clearer error message: "condition is None or missing" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>