You've discovered a big in the software.
Change line 182 from:
Code:
    $allow_for_product = validate_for_product($product_id, $coupon_id);
To:
Code:
    $allow_for_product = validate_for_product((int)$product_id, $coupon_id);
Please report back the result which may include a similar statement about the coupon_id.

Then take credit for the discovery in the bus section of the forum.