It seems that you could add mechanical rigidity and remove the freedom of rotation by adding washers into the mix: washers that have small extrusions to for into the slots next to the bolt. Parallel, perpendicular, or at dome fixed angle.
But I imagine these aren’t needed since everyone who builds with nails or t slots realizes the rotation must be countered not in the joint, but in external bracing. (Aka triangles)