fixed the bug whose expected number of the selected rows is wrong.
fixed the bug that shows all rows even when 'group by' is specified.
moved the clear point of groupedTableMap to PrivateContext::clear() where other members are also cleared.