Search will still be active after its view controller had disappeared.

## Reproduction steps:
1. Lunch the app on iPad.
2. In landscape mode start searching (tap on the search bar)
3. Without entering anything in the search bar, Rotate the iPad to portrait mode
4. Tab on the DocSets button in the upper left corner