Bugfix for broken timewindow at end of min/max