Fix issue with negative numbers between zero and negative 1