Fix incorrect variable name in invalid_comparison_error