Fix bug that prevents recognizing new matches from the old ones