Added protection to avoid the crash at rev#69130.