Issue #565 : the experiment’s endDate is inclusive, thus we should set endDate to the next day’s midnight