I think this should be `new ol.expr.Literal(isNaN(value) ? nodeValue : value)` here instead.