Fixed missing lookup error handling.