1.5.8a - Why is the ot_coupon not calculating this correctly?

Example: I have a 20% off coupon with restrictions: Only allow discount on product from Category A.

I added that product to my...