Fix accidental double-nesting in gather/take hack.

Will go away once we get the real gather/take implementation done.