Note that `ol.expr.Comparison` takes an operator and two `ol.expr.Expression` arguments.  I think you are getting `number` here (see below).