As said on RGP and in other posts, you need to check what's causing the opto switch problem.
Just as a test, I pulled the connector for the optos. I get your exact condition.
This issue could be as simple as the connector is unplugged; a broken wire; or perhaps the optos themselves are failing.
Optos always send the signal. If the signal is not being received (or the receiver has failed), the signal from the switch is gone.
faz