Modify conditions for 'No results found' dropdown

This is to fix bug #31 \(Pressing Enter without selecting an item results in "No results found" message\)