added reverse iteration to CursorTypedResp in the case where a query is
specified, but not when keys are specified.