Replaced a for loop variable from a pattern match to a single variable name - for one or other reason the pattern match was not working and resulting in no loop iteration.  This looks like a Scala defect or perhaps my misunderstanding of how the for loop works when combined with pattern matching.  Very odd and I'll investigate further to better understand.