Fixing nil error with client thresholds.