CRM-14951 fix for number of terms on IPN