fix imbalance in URL round robin

Fixes a bug in the URL round robin functionality where the first element
would be pulled on successive calls at the end of each loop through the URL
list.