Minor DRY up on ProcessRowsTask
Fixes compiler warnings + random optimizations