Added support for null query in search view.