Try unplugging the opto card on both sides and resetting the plugs there. Could also be an alignment issue on the optos in the jam positions so that the light beam is not directed properly. Make sure that there is nothing blocking the light beam between those 2 optos, like being dirty, or some other obstruction that might simulate a ball stuck in the jam position. Try placing something in the light path while the optos are active to see if they react on the trough test. If those things don't correct the issue, you might need new opto boards or new optos to install on the existing cards.