Fix incompatible time range of CHistory::getByHistoryGluon().