Not sure why the rail would ever flex if the front and rear scope mounts are secured. If the rail flexed at all then the scope mount bases aren't set back hard against the rail notches. If there is gap, between the rail and scope bottom, it will always be maintained due to mechanical fixtures.
It's fine the way it is.
It's fine the way it is.