HistoryQueryExecutor MinMax return format?

Adding this here for visibility when someone has the same problem agian
See implementation here: