       # Tasks for feedback or tasks for task, depending on the data source
       $scope.taskData.source.query { id: $scope.unit.id, task_def_id: $scope.filters.taskDefinitionIdSelected },
         (response) ->
-          $scope.tasks = $scope.unit.incorporateTasks(response, $scope.applyFilters)
+          $scope.tasks = $scope.unit.incorporateTasks(response, applyFilters)
           # If loading via task definitions, fill
           if $scope.isTaskDefMode
             unstartedTasks = $scope.unit.fillWithUnStartedTasks($scope.tasks, $scope.filters.taskDefinitionIdSelected)
             _.extend($scope.tasks, unstartedTasks)
           # Apply initial filters
-          $scope.applyFilters()
+          applyFilters()
           # Load initial set task, either the one provided (by the URL)
           # then load actual task in now or the first task that applies
           # to the given set of filters.

      taskDef = $scope.unit.taskDef(taskDefId) if taskDefId?
      $scope.filters.taskDefinition = taskDef
      refreshData() if $scope.isTaskDefMode
      $scope.applyFilters()
    # Set new taskDefinitionIdSelected if task def mode and taskDefAbbr set
    setTaskDefFromTaskKey = (taskKey) ->
      # Only applicable in taskDefMode

      $scope.filters.taskDefinition = taskDef
    setTaskDefFromTaskKey($scope.taskData.taskKey)
    # Student Name options
    $scope.studentNameChanged = applyFilters
    # Finds a task (or null) given its task key
    findTaskForTaskKey = (key) -> _.find($scope.tasks, (t) -> t.hasTaskKey(key))
    # Initially not watching the task key
