bug fixex when translating unbounded predicate query translation