In a resource collection, comparing the IDs of elements in a dynamic list with the list fetched from server upon a 'refresh'.