fix ModuleInfo foreach

- break only stops inner loop but continues
  iteration if there are multiple SectionGroups
Merge pull request #446 from dawgfoto/fixModuleInfoApply

fix ModuleInfo foreach