The safety railing system will have a midrail
that will be located in an equal distance from top rail and walking or working surface and be able to withstand 150lbs of force applied in any downward or outward direction at any given point along the midrail
You may want to try using a rope caulk, such as Mortite, around the perimeter of your interior windows and at the midrail
where the two sashes meet.
This will consist of an upper guard rail between 42 and 45 inches, a midrail
halfway between the deck and the upper rail and a third rail ten inches above the deck.
Safety features include 60" high expanded metal back, dual locking gate, 42" high handrail with 21" midrail
and 4" high kickplate.
It should be provided with handrail, guardrail, midrail
and toe- board.
Also, the midrails
between the upper and lower sash weren't aligned as shown on the plans.