Handle the case where a query returns no results.