You could also grind down the Bolt a little to make it flush with your nut, and have more clearance.
You could also add a washer (locking star type not split) on the derailleur side thereby decreasing the amount the bolt sticking out .
__________________
riding