Fixed bug when returning to search view that is cached