Remove underscores when checking for valid extension key length

Status Job ID Name Coverage
  Test
passed #6994
test

00:01:41

 
  Build
passed #6995
build

00:01:54

 
  Layout
passed #6996
layout

00:01:49