fix issue with summarise() in plot_throughtime