BUG extract on empty series with >1 groups (GH7241)