Avoid warnings when samples have no groups.