IDKit always returns the best match. The whole database is internally sorted by similarity score. Similarity threshold and result count limit (candidate count) are used only to select the top matching users.