Inventory system not adding items properly and returning infinity loop error

Can you please post the Find Items pure function?