Fixed search functionality where the detail container now gets removed
based on the new search string