Change threshold type to SectionEnum