Fix logging level if no results found