Fix grouping clause in summarize_time.cgi