Some byte dataref arrays can have a dynamic size. This can cause errors when the array index in a substring is above the current array size.