hi,
When the LED is supposed to be OFF, measure the output voltage of the 741.
If over +1V, as it most likely is,,, say you measure +2V when its supposed to be low, [ideally 0v],
then connect two low cost diodes in series with the 2K2 base drive resistor, cathodes towards the transistor base.
In this way you will not switch ON the LED when the 741 is less than 2.5V as the diodes will drop about 1.4V.
Fit the 1megohm resistor, this will give a little hysteresis, so the 741 dosn't dither ON/OFF at switch over.
Eric