Original commit message from CVS: Decoupled elements needs special case when we look for grouped elements.