Did you ever figure this out? I'm struggling with the same problem 7 years later!
Sorry. I can't remember how it worked out then but it works now using 1.7. The element I'm using is nested a couple of containers down and all I do, as stated above, is setting the element_code to container.sub-element (leaving out the containers in between).