$levelN_title losing underscore before processing in header & footer on compile to PDF

Because underscores and asterisks are used to create underlined, italicised and bold text in headers and footers.
All the best,
Keith