Correct incorrect reference to loop.