Move clearing of $i down a bit in LoadBalancer

* Fixes 56b22fbea8cdd6fcd31c94e6b4bb01be49fa9683

Change-Id: I6b99d93562743270dbb65c60facdd503f470ab14