modified it to display the near-match task instead
simplified search tag method
Implemented near match search for tags