Fixed new task not getting correct due