TasksMod: error with duplicate task when selecting task as complete