Fixed error that prevented looping through each input image