Recoded the item identical checks. Should now cover more cases.