Fixed minor bug in timedRun.