Fix a threshold display bug