Issue appears to happen due to how place is tracked in the search, the variable used by the search function is shared between events. If another search is triggered before the first search finishes, the variable rankIndex is set back to 1 early and both events start to increment the variable.
Issue appears to happen due to how place is tracked in the search, the variable used by the search function is shared between events. If another search is triggered before the first search finishes, the variable rankIndex is set back to 1 early and both events start to increment the variable.
ex:
vs expected result:
Second example:
vs expected result: