Updated error message to be consistent with "lsearch" output under similar failures