Fixed DB search and added error for no results