Fix negative connection durations in access log

Regression introduced in cc666dc1.