Fix index result in FindIndexByClientKey()