It does not matter that they are different, the connector will be the same. Swap the boards around and if the opto is causing the trouble and most likely it is, the fault will move with the board. I really doubt it will be anything else especially if in test it works fine..