# NAND gate from BJTs: interfacing +/- 12v op-amp and 5v logic: destroy BJT with excessive Vebo?

I want to switch on a relay when both a 5v logic input is high and a (LM741 used as a) comparator is around +10v, and the circuit I planned to use is below.

The problem I see with the circuit is when BUF1 output is low, (0v) and OA1 output is low, (-10v) the base of Q1 will be at 0v, but the emitter will be floating. Could this destroy Q1, given that Vebo absolute maximum for BC547A is 6v?

simulate this circuit – Schematic created using CircuitLab