Updated to patch "woocommerce_downloadable_product_name" filter

In existing master code, when the "woocommerce_downloadable_product_name" filter is being applied to the prior result (for the second file on a product), the variables passed in to the filter are for the current product, not the previous product which is being filtered.

This patch updates this condition to provide the correct filter context for replacing prior record data.