Typical Cb500 gearcluster problem with 3rd and 4th , we had the same problems.
We now use a CB350K gearcluster , same ratios as the 500 but partly undercut.
I bought also two complete spare gearclusters on Ebay , but you also need the 350K clutch hub !