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

see #7241