Issue #2910894 by Chipie: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'legal_accepted.tc_id' in 'on clause'
Closes #3258233