I would use a single led opto rather than a dual and put a 1N4004 diode and appropriate resistor in series with it.