Having problems iterating over array

Sorry - you missed the extra info I added to my post

Also, this implies that its perfectly valid