in vtkSelection numVals can be -1 if an error occurred during the selection evaluation.
Backport: paraview/release