This particular use of a nested "For" is something that I did not expect. I have trimmed it down to a very simple example. The outer For