fix checking for negative items