fix for search with empty on wierd results