Fix for signed/unsigned comparison warning
Commit the *rest* of the old-VTK-compatibility fix