Add support for logic comparisons.