Display correct item when clicked through from search results

Fixes #194