Fix issue with non visible characters showing up on the navigation menu.