Replaced old extension name

Replaced old extension name in conditional statement with current extension name, so that the condition is true for the first section element.