PurgeMatrix and RemoveDuplicatesLink