fix off by one error in offset
RIDBag can appear on any field, not just out_