Escape key was not being handled when no items are found in a search.