[Issue 10307] New: Regression when searching for nonexistent entries and no access to DB