Make value safe for negative values as well.