fix issues with the array calc and string arrays
The old code did not correctly handle DataObjects that had string arrays in them. It would cause the index to be off after the string array. So it might look liek it worked but the data would be incorrect. Very bad. This fixes PV issue paraview/paraview#12967 (closed)