If a task with sub-tasks is in "sprint folder x", and you try to view schedule from a gantt view in "list y", none of the task's sub-tasks will show up in the gantt view under "list y".