The picture you showed should work. Always better to have it a little long. The picture you posted, the shaft is actually too short, and the locking part of the
lock nut is not engaging. These things like to fly off if the lock nut isn't working, or worse yet, a common nut is used.