Corrected a number to stop the loop

Corrected a number to stop the loop - all print outs were visible