The issue is that the query is attempting to query a group that has been deleted. The solution would be to remove this group clause from the query and add a different group if needed.