Fix bug on Chained Comparisons.