Agreed, but those optos are hard to find. I have an old TZ clock board I scavenge from.
Although that is usually the problem, it can also be related to the flipper boards for some min PF's, such as this and more commonly TS. I would first try swapping the flipper opto boards, if the issue remains unchanged, it's time to dig apart the left rear and examine that board, could just be cracked solder joints on the optos that need reflowing if the problem is intermittent. If the problem changes to the other side of the mini, it's a flaky opto on the flipper board.