Fix another rounding bug in log.ticks.