Actually, it is more about replacing 'if in last query the subtasks' with 'in the last subtask' since there are not multiple queries now. I added the `= ` because currently the last subtask ends up having 3 items too. If you want to test the strict inequality you can change 8 to 7 so that the last subtask will have 2 items.