Pass the ItemRecord instead of the record name instance.