Fix execution of multiple extend segments in one template
- defining sections of the same name collide