Fixing remnant task data issue after new task submission