Well lock the joints.
However this is a not understanding joints issue, if they dont intend to move in the rig then theres no reason to have them there. se basics of kinematics which is a area of mechanical engineering study states, that to model a joint system you only need reactionary joints even if the actual part is bent, you would end up using a stright joint system as it does not change the solution.