Fixed error on empty return search