fixed bug where batch re-run didn't always stop when it had exported the same number of rows as the original run (VBAT-65)
Merge branch 'VBAT-65' of https://github.com/VCO-Systems/vBatch into VBAT-65
added space after sql token replacement; added debugging statements; fixed ordering of jobSteps record lookup so that records created out of order will still run in correct order (VBAT-65)