Fixed query choosing bug in CHBenCHmark