fixed bug so that the detail page tab unclickable after starting a new search