Added check for negative.