Fix bug with numbers -1 < x < 0 showing up as positive