Reformat and update condition to add to IDLIST