Fix TargetObjectiveTask python binding.