fix for crash in iOS when receiving invalid products from Prime31 plugin