As someone trained to fall properly since I was a toddler, he did the right thing.
His back was to the railing with a drop his body couldn’t anticipate preparing for, let alone with the baby. The drop of the baby to the porch was safer than both of them rolling several ft down.