Fix bug in hiding percentages.