JBTM-1810 Ensure that the set of XAResources we obtain in the first scan is the same list as we use in the second scan
JBTM-1810 If an equivalent XAResource is detected, remove the original from the list of XAResources to check and potentially add the new one back in