Oops, it was my mistake. There is only one headhunter (at least on the level I’m on) so I was thinking it would return an object but of course it just returns an array with one member.
A little bit of a tangent but while experimenting on this level I also noticed that the lightning stick has the nice feature that it seems to go through things in a way that arrows don’t. You can hit the headhunter with lightning even when he’s behind all the ogres and stuff, but not with arrows because they get blocked by ogres.