Fixed a syntax error. Adding a bit of a buffer to total number of records fetched for a couple days to make sure I get caught up