Make pipeline key $group recursive.

I am sure there is a bug in this, but its passing tests. If you could have a look over it and see if you can see anything.