> the collectively bargained agreement with an employer affects everyone under the scope of that agreement. This includes people who are not members of the union. The contract is for everyone within a bargaining unit.
Only because unions choose only to make contracts that cover non-members as part of their bargaining unit.
> The free rider problem occurs once so called right to work gets enacted. There is no free rider no because everyone pays fair share
There is no free-rider problem. Unions are free to create contracts that don't consider non-members to be part of the bargaining unit. That court ruling is 80 years old and completely uncontroversial and uncontested. Unions have systematically refused to do that, because they'd rather take an "all or nothing" stance.
It makes for a great political stance to pretend, "oh, we have to charge these other people fees because otherwise we'd be giving them representation for free", but in reality, they're the ones who are refusing to do business any other way. There is no free-rider problem, and there never has been.