### Description

This works:
```
POST _query
{
  "query": "from kibana_sample_data_logs | limit 10000",
  "filter": {
    "range": {
      "@timestamp": {
        "format": "strict_date_optional_time",
        "gte": "2023-12-12T13:00:00.000Z",
        "lt": "2023-12-12T14:00:00.000Z"
      }
    }
  }
}
```

But this returns empty values array:
```
POST _query
{
  "query": "from kibana_sample_data_logs | limit 10000",
  "filter": {
    "range": {
      "@timestamp": {
        "format": "strict_date_optional_time",
        "gte": "2023-12-12T13:00:00.000Z",
        "lt": "now"
      }
    }
  }
}
```
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeService.java
profiles = null;
                }
            } else {
                profiles = null;
            }
        }
        @Override
        public void writeTo(StreamOutput out) throws IOException {
            if (out.getTransportVersion().onOrAfter(TransportVersions.ESQL_PROFILE)) {
                if (profiles == null) {
                    out.writeBoolean(false);
                } else {
                    out.writeBoolean(true);
                    out.writeCollection(profiles);
                }
            }
        }
    }
    
    public static final String DATA_ACTION_NAME = EsqlQueryAction.NAME + "/data";
    private class DataNodeRequestHandler implements TransportRequestHandler<DataNodeRequest> {
        @Override
        public void messageReceived(DataNodeRequest request, TransportChannel channel, Task task) {
            final var parentTask = (CancellableTask) task;
            final var sessionId = request.sessionId();
            final var exchangeSink = exchangeService.getSinkHandler(sessionId);
            parentTask.addListener(() -> exchangeService.finishSinkHandler(sessionId, new TaskCancelledException("task cancelled")));
            final ActionListener<DataNodeResponse> listener = new OwningChannelActionListener<>(channel);
            acquireSearchContexts(request.shardIds(), request.aliasFilters(), ActionListener.wrap(searchContexts -> {
                var computeContext = new ComputeContext(sessionId, searchContexts, request.configuration(), null, exchangeSink);