fixed bug when filtering by group with no contacts