Fixed the fix for RescaleDataRange added by commit db60bfa0. The old fix was incorrect. This use simpler API to get to the array information thus avoiding previous bug.