added check for empty search and returns empty list. bllevy2, blasing2