chunking fix for edge cases when ptop is restarted
Merge pull request #65 from dimagi/ptop-chunking-fix

chunking fix for edge cases when ptop is restarted