combine_and_repair_tbls function

Combine checkbox fields with respect to repaired outputs