Corrected multiple section handling.