Update the header-selectors mixin to fix validation error and improve readability