How to fix searching for blanks