Error handling with no-hits-found.