Improve performance of searching tag