Is there an exception onSearch can throw to make this return false?