[client][managed][offline] Relax queryId restrictions #521