Some validation for check_thresholds