Fix negative number rounding