Removes non-active groups from the list.