Zounds like a worn ratchet, broken index arm/spring, bolt problems OR all of the above
I have also found that some of the time the cylinder pin was replaced with a smaller one and that will also make it malfunction as the index
arm lifts the cylinder up and the bolt will not engage the detents.