Fix bug with text color of badges.