Sanitize task_id input before retrieving tasks.