Filter out completed tasks in sub-task view

Note that the above solution does not work if you have a filter applied, as you can’t use a drop down view for tasks when you have a filter or sort applied to the project. This includes sorting by date. You can vote for that to be fixed here - Display subtasks on List view when project is filtered/sorted