Fix issue with removing negative values