Fix duplicate variable name.
Fix duplicate variable name.

Apparently for some reason we cant' reuse iteration variable names from
one loop to the next......Ugh. Ugh. Ugh.

databrary/databrary,databrary/databrary,databrary/databrary,databrary/databrary