Fixed session.duration to show elapsed time if the session hasn't ended yet.