What Profile are you using that those rails sit onto because the rails look nearly as wide as the profile which if 20mm or 30mm the profile it is far too weak.

That or things are very much out of scale which makes designing very difficult.!

Your change is weak and complicated so I wouldn't take that route.