We shouldn't log a status if there is no collection, also increment the iteration number first, handle all cases accordingly, set the default iteration number to 0.