Fixed BUG #11520. Fixes segfault for unstructured grids.
Fixed BUG #11520. Fixes segfault for unstructured grids.

The logic to locate input/output arrays was flawed resulting in using wrong pair
of arrays during the conversion. This would cause segfaults when the arrays had
different number of components as was the case with the sample dataset included
in the BUG report.

aashish24/VTK-old,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,jmerkow/VTK,SimVascular/VTK,sankhesh/VTK,johnkit/vtk-dev,jmerkow/VTK,hendradarwin/VTK,sumedhasingla/VTK,johnkit/vtk-dev,jmerkow/VTK,mspark93/VTK,arnaudgelas/VTK,aashish24/VTK-old,hendradarwin/VTK,SimVascular/VTK,arnaudgelas/VTK,spthaolt/VTK,ashray/VTK-EVM,hendradarwin/VTK,ashray/VTK-EVM,collects/VTK,berendkleinhaneveld/VTK,arnaudgelas/VTK,sankhesh/VTK,ashray/VTK-EVM,aashish24/VTK-old,spthaolt/VTK,sumedhasingla/VTK,arnaudgelas/VTK,sumedhasingla/VTK,candy7393/VTK,demarle/VTK,cjh1/VTK,keithroe/vtkoptix,sumedhasingla/VTK,biddisco/VTK,msmolens/VTK,collects/VTK,berendkleinhaneveld/VTK,msmolens/VTK,collects/VTK,mspark93/VTK,jmerkow/VTK,keithroe/vtkoptix,hendradarwin/VTK,msmolens/VTK,daviddoria/PointGraphsPhase1,candy7393/VTK,ashray/VTK-EVM,johnkit/vtk-dev,jmerkow/VTK,biddisco/VTK,aashish24/VTK-old,sankhesh/VTK,berendkleinhaneveld/VTK,spthaolt/VTK,collects/VTK,johnkit/vtk-dev,keithroe/vtkoptix,ashray/VTK-EVM,johnkit/vtk-dev,sankhesh/VTK,gram526/VTK,msmolens/VTK,daviddoria/PointGraphsPhase1,cjh1/VTK,sankhesh/VTK,msmolens/VTK,candy7393/VTK,berendkleinhaneveld/VTK,cjh1/VTK,keithroe/vtkoptix,johnkit/vtk-dev,cjh1/VTK,aashish24/VTK-old,spthaolt/VTK,candy7393/VTK,SimVascular/VTK,demarle/VTK,gram526/VTK,candy7393/VTK,demarle/VTK,keithroe/vtkoptix,SimVascular/VTK,mspark93/VTK,sankhesh/VTK,sankhesh/VTK,candy7393/VTK,mspark93/VTK,mspark93/VTK,biddisco/VTK,spthaolt/VTK,gram526/VTK,mspark93/VTK,mspark93/VTK,demarle/VTK,sankhesh/VTK,mspark93/VTK,biddisco/VTK,keithroe/vtkoptix,SimVascular/VTK,sumedhasingla/VTK,arnaudgelas/VTK,msmolens/VTK,demarle/VTK,ashray/VTK-EVM,hendradarwin/VTK,aashish24/VTK-old,keithroe/vtkoptix,gram526/VTK,ashray/VTK-EVM,msmolens/VTK,johnkit/vtk-dev,arnaudgelas/VTK,biddisco/VTK,daviddoria/PointGraphsPhase1,berendkleinhaneveld/VTK,jmerkow/VTK,berendkleinhaneveld/VTK,spthaolt/VTK,demarle/VTK,daviddoria/PointGraphsPhase1,hendradarwin/VTK,candy7393/VTK,jmerkow/VTK,keithroe/vtkoptix,gram526/VTK,spthaolt/VTK,cjh1/VTK,sumedhasingla/VTK,collects/VTK,daviddoria/PointGraphsPhase1,berendkleinhaneveld/VTK,gram526/VTK,jmerkow/VTK,ashray/VTK-EVM,demarle/VTK,biddisco/VTK,demarle/VTK,biddisco/VTK,gram526/VTK,msmolens/VTK,daviddoria/PointGraphsPhase1,SimVascular/VTK,gram526/VTK,cjh1/VTK,candy7393/VTK,collects/VTK,hendradarwin/VTK,sumedhasingla/VTK