A big thank you to @salnikov for having spotted the bug in fixing the beamspot vertex collection as described in his comment in ATR-19562.