Swiching from different sorting types does not reset the aggregation of results. See merge request !123