fixed bugs when filtering by name and group simultaneously