Fix typo in warning in add.threshold