made flattened_member_ids_with_collections ignore deleted members