Fix the forcing of iteration in the batch.

When no timeout was specified, our default of an hour was causing a new
iteration for each object, after an hour passed. Now use a magic value of
-1 to determine if a timeout was set or not.
Fix variable.
Merge pull request #11 from adam-vessey/7.x-fix-variable

Fix forced iteration.