Aha! This seems to work for me, thanks.
I checked the docs for the DescendantSet class, and it appears all its methods are private. Is there a proper way to iterate over all its elements?
I see the -each method, but since that's private I'm wondering if this is the best way to go (in case, for example, it changes in the future).
Thanks so much for your help!
Jason.