Min and Max are _time min and max values per database. Any ideas on how can I find when a MIN is higher than another MAX? This means that the samples are not on overlapping windows.
Try this at the end of your search...
| eventstats min(max) as minmax
| where min >= minmax