As many other people have said, luck has played a part in it. However, luck always runs out one day.
There have been loads of incidents where even seconds have mattered. Chalfont and Latimer springs to mind, had that Chesham Met train been crossing onto the branch, it could’ve turned out...