Fix a bug in nested 'if's in BinComparisonNode.