Finished search, fixed bug with active tag