Add support for comparisons in WHERE clause