Fixes constant loading when clicking a search result