Why would dwarves worry about railings? Proper folk are very Stable and will never go over the edge. It's the flighty leaf-eared ones who do silly things like that.