Fixed minor bug in TimeLogger