Correction - I had a misspelling when setting my dealvariable.
{% set dealvariable = deal.qualifedcert %} should have been {% set dealvariable = deal.qualifedcert %}
With this fix, the dealvariable prints correctly in the email:
But throws an error when I try to use it in hubdb_table_rows:


