fix open block query

fix the open block query on dbsbuffer3. Applied on the production machine
https://cmslogbook.cern.ch/elog/Workflow+processing/13441