Fixed timing issue where resque jobs would start processing before

the initial log entry got put into mongo. Since we pulled the log id
at the start of the script it depended on the log entry being present
before processing. Now we can pick up the log id as soon as its ready
even if job processing has already begun.