Fixed query error in product filter