fix the error in ajax that was causing all the error tickets - there's a difference between scheduler_run.id and scheduler_run.task_id