Check if search view exists before trying to hide it
Merge pull request #1872 from dinhviethoa/1840-gotoview-hide-search

Check if search view exists before trying to hide it