Fix crash during deletion of thermalzone on 2nd tab

[#78198458] @evanweaver please see code comments