fix nullable productIDs

(cherry picked from commit e53a9cefb86c91d8826c60bb4f60bc5de6fe38d4)