Thanks @dannio ,
I got it working. I could generate the parent and child pages just fine but was trying to pull the details of some of the child pages into their parent pages based on a foreign_id column in the parent HubDB. I was able to remove one of the loops and sets once I use the child-ids. Ended up with the following.
{% if dynamic_page_route_level == 0 %}
{% elif dynamic_page_route_level == 1 %}
{% for child_row in dynamic_page_hubdb_row.foreign_id %}
<h6>
{{ child_row.company_name }}
</h6>
{% endfor %}
{% endfor %}
{% elif dynamic_page_route_level == 2 %}
{% endif %}