Working on logic for failed searches