Fix calculation of microseconds.