Error when adding new item to a collection in a for loop

Works like a gem! You’re a life saver. Many thanks, J.D.!