Fixed two NPEs when no regr thresholds set