Fixed bug overwriting results for different durations