fixed bug in coupons model, fixes dioscouri/amritasingh-f3#150