in reply to Re^2: loop issue
in thread loop issue

Am unsure why the issue happened, but am glad the script is now working for you...