Capture return value from lg_search so we can test it if we want to.