When the database returns nothing, we need to return an error in such a case. We then need to propagate that up to the handlers to properly render the "not found" page.