fix(Task): treat tasks with null deadlines as equal