-- as with task_visibility_scope = "main_project" do not show closed sub-projects when task_visibility_scope = "sub_project"
-- added missing 'and'
-- revert last commit