When user types quickly, the completion block of the search result may be called in different order, which causes the table view to be populated with incorrect results.
This fix ignores the completion result if the search text is different from what is in the search bar.
When user types quickly, the completion block of the search result may be called in different order, which causes the table view to be populated with incorrect results.
This fix ignores the completion result if the search text is different from what is in the search bar.