Ensure thumbnails API checks for product type, so we don't get non-object errors when checking for non-exists posts.