Changed mingle to search by task id when checking for existing tasks