After the first scaling event occurs, when the nested stack is updated, the owner_id of the nested stack is being set to NULL. This means that the nested stack starts showing up in "heat stack-list" calls.
MariaDB [heat]> select id, name, owner_id from stack where deleted_at is null;
+--------------------------------------+---------------------------------------------------------+----------+
| id | name | owner_id |
+--------------------------------------+---------------------------------------------------------+----------+
| 7852023f-c8ba-4e22-8c0f-51a643d48db4 | AutoScalingTest-775215682 | NULL |
| a988aaa5-2a5b-4561-b6bd-5a26681e48d8 | AutoScalingTest-775215682-SmokeServerGroup-oo265nn2pemn | NULL |
+--------------------------------------+---------------------------------------------------------+----------+
2 rows in set (0.00 sec)
Fix proposed to branch: master /review. openstack. org/41812
Review: https:/