Paginator: Group by must be reseted

The group by part has also to be reseted, when COUNT(1) is used