fix condition check for IPN acceptance