Fix Invoice::isForSubscription() when subscription is from event