Added sorted_durations as null list so history view doesn't get upset when one isn't provided