Added handling if there are nothing to display to not show the search anymore

Reviewer: Cy Casada (Post commit)

Issue: None