Replace == with = by removing range_comparison from nested value template
Merge branch 'fix_logic_value_equals', fixes #307