Update the toggle_children function to account for the new changes introduced to the exclude RTO with D7016.