getCurrentItem() not giving the correct item from the repeater

The above code is what gives me the first record of the repeater.