Fix query to get products that used in widget