stop fetching if result is empty
Merge pull request #36 from dimagi/nomoreleft

stop fetching if result is empty