fixes #5828 - correct regression in act key index api method