Fix to work well even if ignore_item_keys is null.