Fixed get_task_by_cpu