If you can, throw off your save with a given fact or a video recording with a similar bug. All the conditions are clearly spelled out in the call of this event, so if there is a problem, it is caused by the fact that RenPy ignores the conditions and incorrectly calculates everything.