Fix default threshold check