BUG test for extract on empty series (GH7241)