little fix to product query