Stop returning entire index when search string is empty.