doh,
I must have been tired when I proposed the fixes. The first example is supposed to be "select" (not "collect"). I misread the second ("reject") example as a "select", the original text is correct in this case.