check for empty searches