Fork StateHistorySummaryQuery -> StateHistoryGroupedSummaryQuery

refs #4474