Fix foreach section run number