Add item_records check in add_provider_to_item_records