Add detection for blank search