Fix for #51 aggregators should be reset when sorting or grouping is changed.