bounding revision ids query