I had this problem in the past as well. We solved it by always tracking ID properties as "IDs" - so in your case "Product IDs" across all events" even though with some events there, the property might have only 1 value.