Fixes incorrect selector when multiple levels of nesting are present.

Uses direct child selector similar to how data-object-id is obtained a couple lines before.