Fix bug in messaging if downloaded more than 1000 items successfully

Test Plan:
- None