Resolved duplicate task bug