Added old record lookup error handling.