for that I would just build in a second signal to the controler.
Again if one is on, it goes to low, if both are on, it goes to high.
you have 2 temp sensors and 2 relay's.
Still easier than figuring out the sensor outputs.