Minor fix for deadlinetasks

the only accessor specific to  deadline tasks is getDeadLine()