Search not started if no query is entered