Fix bug when searching in a split view with the console visible