diff --git a/CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc b/CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc index 054ec16e9e18f..0a3dd4a221eb2 100644 --- a/CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc +++ b/CondTools/RunInfo/src/LHCInfoPopConSourceHandler.cc @@ -699,6 +699,7 @@ void LHCInfoPopConSourceHandler::getNewObjects() { query->filterGT("start_time", targetTime); } + query->filterLT("start_time", m_endTime); if (m_endFill) query->filterNotNull("end_time"); bool foundFill = query->execute();