LPS-44048 iterate only the groups with trashed elements instead of all the groups when cleaning the recycle bin