better duplicate handling for batchLoadItems