fix for empty searches