Bug fix for batch sections.